package com.hourses.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 * 权限表
 * auth_info
 */
@Data
public class Auth implements Serializable {
    private Integer authId;

    /**
     * 父id为空或为0，表示一级权限
     */
    private Integer parentId;

    private String authName;

    private String authDesc;

    private Integer authGrade;

    /**
     * 1 模块 、2  列表、 3  按钮
     */
    private String authType;

    private String authUrl;

    private String authCode;

    private Integer authOrder;

    /**
     * 1 启用 、0 禁用
     */
    private String authState;

    private Integer createBy;

    private Date createTime;

    private Integer updateBy;

    private Date updateTime;

    private List<Auth> childAuth;

    private static final long serialVersionUID = 1L;
}